package com.platform.event.core.model;

public class EventResult {
	private boolean success;
	private String message;
	private String code;
	private Object data;
	public boolean isSuccess() {
		return success;
	}
	public void setSuccess(boolean success) {
		this.success = success;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public Object getData() {
		return data;
	}
	public void setData(Object data) {
		this.data = data;
	}
	public EventResult(boolean success,String code,String message,Object data){
		this.data=data;
		this.message=message;
		this.code=code;
		this.success=success;
	}
	public EventResult(boolean success,String code,String message){
		this.message=message;
		this.code=code;
		this.success=success;
	}
	public EventResult(boolean success,String code){
		this.code=code;
		this.success=success;
	}
	public EventResult(boolean success){
		this.success=success;
	}
	public EventResult(){
	}
}
